home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / collie12.arc / NEWITEMS.TXT < prev    next >
Text File  |  1986-07-09  |  3KB  |  66 lines

  1. Changes for Collie v 1.20 July 9, 1986
  2.  
  3. There have been many requests to change the dump for
  4. PRELOG.BBS from just before welcome1 to before the
  5. request for ansi grafix.
  6. It now displays before the ansi request but after
  7. NO300.BBS.
  8.  
  9. VERY IMPORTANT!!!!!!!!!!!!!!!!!!!!
  10.  
  11. CHANGE YOUR CONFIG.SYS IF YOU HAVE FILES=20 AND BUFFERS=50.
  12. There are TOO MANY buffers being declared!!
  13. Set your config.sys as follows:
  14. files=25
  15. buffers=20
  16.  
  17. On my machine, 20 buffers INCREASED speed a LOT!!
  18. You may have to experiment slightly to find the optimum for your
  19. system, but 20 is a good starting place.
  20. Be sure to REBOOT after changing it so dos knows what is happening.
  21. one of our F0 problems is that dos is running out of file buffers and
  22. can't assign more handles due to the excessive memory being used.
  23. another sidelight is that , if you do a chkdsk, you will see that more
  24. usable memory is free.
  25.  
  26. for goodbye, you may now press g  and 2 returns to log off instead of
  27. answering y (if you wish).
  28.  
  29. below is the ONLINE function we use to test whether carrier has been
  30. dropped. This may help those who want to write online programs.
  31.  
  32. also, the boolean for `sysop only' local input is now written to the
  33. info.bbs file, along with CDMask so your program can determine if it is being
  34. run from the console or remotely. if local is not set in your program,
  35. if it tests for carrier and it is being run from the console,
  36. it cannot run in local mode.
  37. ONLINE returns true if local is true while in use by the console.
  38.  
  39.  
  40. Function Online: Boolean;
  41.   Begin
  42.     Online := (Port[MSR] and CdMask = CDMask) or Local;
  43.   End;
  44.  
  45.  
  46. local is declared as a boolean (true for console, false for caller).
  47. MSR is declared as comport address + 6.
  48.        where address for com1 is $03F8 and com2 is $02F8.
  49.        so, for com1, msr := $03F8 + 6.
  50.  
  51. although CDMask is an integer, it is written to the file as a string.
  52.  
  53. below is a copy of the new INFO.BBS file.
  54.  
  55. Chuck Gorish               { name... you are safe if you use a string[40] }
  56. 2400                       { baud rate }
  57. 1                          { comport }
  58. 128                        { cdmask.. be SURE to convert to an integer }
  59. TRUE                       { local... boolean flag... true is console  }
  60. 1                          { record position in users.bbs }
  61. 118                        { time left on system for this call in minutes }
  62.  
  63. NOTE: that the code segment address was useless to put in in the
  64. first place so it is now removed.
  65.  
  66. chuck